package com.one.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zwj
 * @since 2021-10-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_college")
@ApiModel(value="SysCollegeEntity对象", description="")
public class SysCollegeEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "院系编号")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "院系名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否删除,0:否 1:是")
    @TableField("isDeleted")
    private Integer isDeleted;

    @ApiModelProperty(value = "责任人编号")
    @TableField("ceach_code")
    private Integer ceachCode;

    @ApiModelProperty(value = "责任人姓名")
    @TableField("ceach_name")
    private String ceachName;

    @ApiModelProperty(value = "页码")
    private int page;

    @ApiModelProperty(value = "每页记录条数")
    private int number;


}
